#parse("/common/common.html")
##grid
<div class="page-content">
<div class="page-content-area">
		<div class="row">
		<form id="mainForm" action="#" class="form-horizontal">
			<input name="id" type="hidden" value="$!{record.id}" />
			<input name="modelId" type="hidden" value="$!{record.modelId}" />
			<input name="nodeId" type="hidden" value="$!{record.nodeId}" />
			<input name="type" type="hidden" value="$!{record.nodeType}" />
			 #if($record.nodeType == 2 )  
			<div class="col-xs-12 col-sm-12">
				<div class="form-group">
					<label class="col-xs-1 col-sm-2 control-label no-padding-right" for="runBean">运行类名称</label>
					<div  class="col-xs-11 col-sm-10" >
						<input class="form-control" type="text" id="runBean" name="runBean" placeholder="运行类名称" value="$!{record.runBean}" />
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-12">
				<div class="form-group">
					<label class="col-xs-1 col-sm-2 control-label no-padding-right" for="conditionBean">条件运行类名称</label>
					<div  class="col-xs-11 col-sm-10" >
						<input class="form-control" type="text" id="conditionBean" name="conditionBean" placeholder="条件运行类名称" value="$!{record.conditionBean}" />
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-12">
				<div class="form-group">
					<label class="col-xs-1 col-sm-2 control-label no-padding-right" for="cancelBean">取消(驳回)运行类名称</label>
					<div  class="col-xs-11 col-sm-10" >
						<input class="form-control" type="text" id="cancelBean" name="cancelBean" placeholder="取消(驳回)运行类名称" value="$!{record.cancelBean}" />
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-12">
				<div class="form-group">
					<label class="col-xs-1 col-sm-2 control-label no-padding-right" for="detailUrl"><span class="form-require">*</span>显示地址</label>
					<div  class="col-xs-11 col-sm-10" >
						<input class="form-control required" type="text" id="detailUrl" name="detailUrl" placeholder="运行类名称" value="$!{record.detailUrl}" />
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="nodeAction"><span class="form-require">*</span>节点类型</label>
					<div  class="col-xs-10 col-sm-8" >
					    <select class="form-control required" id="nodeAction" name="nodeAction" >
					      #select($dicts.nodeAction $record.nodeAction)
					    </select>
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="isStartNode"><span class="form-require">*</span>是否开始节点</label>
					<div  class="col-xs-10 col-sm-8" >
					    <select class="form-control required" id="isStartNode" name="isStartNode" >
					      #select($dicts.useStatus $record.isStartNode)
					    </select>
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="defaultValue">默认值</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control" type="text" id="defaultValue" name="defaultValue" placeholder="默认值" value="$!{record.defaultValue}" />
					</div>
				</div>
			</div>
			#end
			
			 #if($record.nodeType == 4 ) 	
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="condition"><span class="form-require">*</span>条件表达式</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control required" type="text" id="condition" name="condition" placeholder="条件表达式" value="$!{record.condition}" />
					</div>
				</div>
			</div>
			#end
			
			 #if($record.nodeType == 5 ) 	
			<div class="col-xs-12 col-sm-12">
				<div class="form-group">
					<label class="col-xs-1 col-sm-2 control-label no-padding-right" for="runBean">运行类名称</label>
					<div  class="col-xs-11 col-sm-10" >
						<input class="form-control" type="text" id="runBean" name="runBean" placeholder="运行类名称" value="$!{record.runBean}" />
					</div>
				</div>
			</div>
			
			
			#end
		</form>
		</div>
	</div>
</div>
		
<script src="${contextPath}/view/activiti/model/js/node/setting.js"></script>